<!DOCTYPE html>
<html class="um landscape min-width-240px min-width-320px min-width-480px min-width-768px min-width-1024px">
    <head>
        <title><!--机场降舱列表--></title>
        <meta charset="utf-8">
        <meta name="viewport" content="target-densitydpi=device-dpi, width=device-width, initial-scale=1, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
    <link rel="stylesheet" href="css/ui-box.css">
    <link rel="stylesheet" href="css/ui-base.css">
    <link rel="stylesheet" href="css/project/style.css">
    <link rel="stylesheet" href="css/zv_common.css"> 
    <link rel="stylesheet" href="css/project/ui-input-v3.css">
    <link rel="stylesheet" href="css/project/ui-res-v3.css">
    
    <style>
        .datecolor{color:#525252; padding-top:0.4em;}
    .b-norarea{ border-color:#ccc;}
    .passenger_infoborder{border-bottom:1px solid #e5e5e5;}
    .passenger_infoborderb{ border:0px;}
    .line-h
    {
             padding: 0.1em 0.3em 0.1em 0.3em;
         border-bottom:solid #cccccc 1px;
    }
    .line-h1
    {
         padding: 0em 0.3em 0em 0.3em;
    }
    .umwh
    {
        min-width: 1.5em;
        min-height: 1.5em;
    }
    .po{
        position: relative;
        top: .2em;
    }
    </style>
    <script src="js/zy_control.js"></script>
    <script src="js/zy_click.js"></script>
    <script src="js/main.js"></script>
    <script src="js/candidate.js"></script>
    <script src="js/talkingdata.js"></script>
    </head>
    <body class="um-vp c-bf" ontouchstart>
        <div id="page_0" class="up ub ub-ver" tabindex="0">
            <!--header开始-->
            <div id="header" class="uh t-wh ub c-blu">
                <div class="umw2 ub ub-ac ub-pc" ontouchstart="zy_touch('')" onclick="uexWidget.finishWidget('')"><!-- onclick="exitApp()"-->
                        <div class="uwh-tBtn ub-img t-btn-a1"></div>
                </div>
                <h1 class="ut ub-f1 ulev-3 ut-s tx-c flight_c_top" >旅客降舱</h1>
                <div class="umw4 ub ub-ac ub-pc" ontouchstart="zy_touch('btn-act')" onclick="queryList()">
                    <div class="uh tx-c">刷新</div>
                </div>
            </div>
            
            <div id="condition">
                <div class="line-h c-wh">
                        <div class="ub t-bla ub-ac">
                            <div class=" ub-ac ulev0 datecolor  ufl">承运人:</span></div>
                            <div class="ub-f1 ub uba  b-gra  sel noboder" style="width:45%">
                                <div class="ub-f1 ut-s uinn tx-l t-gra ulh-sel po" id="carrier">MU</div>
                                <div class="b-gra  umw2 ub ub-pc ub-ac">
                                    <div class="ub-img umw1 umh1 res3"></div>
                                </div>
                             <select name="Carrier" selectedindex="0" id="Carrier" onchange="zy_selectmenu(this.id)">
                                    <option value="MU">MU</option>
                                    <option value="FM">FM</option>
                                    <option value="KN">KN</option>
                             </select>
                            </div>
                            
                            <div class='ub b-norarea c-wh' style="width:55%">
                                <div class=" ub-ac ulev0 datecolor ufl">航班号:</span></div>
                                <div class="ub ub-f1  " >
                                    <div class="uba uinput passenger_infoborderb" style="width:100%">
                                        <input placeholder="请输入航班号" type="tel"   id="flightNo"  style="width:100%" value="">
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    
                    
                <div class="line-h c-wh">
                    <div class="ub t-bla ub-ac">
                    <div class='ub b-norarea c-wh' style="width:55%">
                    <div class=" ub-ac ulev0 datecolor umw４">航班日期:</div>
                        <div class="ub ub-f1" >
                        <div class="uba uinput passenger_infoborderb po" id="flightDate" style="width:98%; line-height:1.7em" onclick="checked_day('flightDate')">请选择日期</div>
                        </div>
                    </div>
                    <div class='ub b-norarea c-wh' style="width:45%">
                    <div class=" ub-ac ulev0 datecolor umw４">是否值机:</div>
                        <div class="ub-f1 ub uba  b-gra  sel noboder" >
                                <div class="ub-f1 ut-s tx-l t-gra ulh-sel po" id="CheckinStatus"  style="width:100%; line-height:1.7em" >全部</div>
                                <div class="b-gra ub ub-pc ub-ac">
                                    <div class="ub-img umw1 umh1 res3"></div>
                                </div>
                             <select name="chekStatus" selectedindex="0" id="checkinStatus" onchange="zy_selectmenu(this.id)">
                                    <option value="">全部</option>
                                    <option value="AC">已值机</option>
                                    <option value="NA">未值机</option>
                             </select>
                            </div>
                    </div>
                    </div>
                </div>
                
                
                <div class="line-h c-wh">
                    <div class="ub t-bla ub-ac">
                    <div class='ub b-norarea c-wh' style="width:50%">
                    <div class=" ub-ac ulev0 datecolor umw４">出发机场：</div>
                        <div class="ub ub-f1  " >
                            <div class="uba uinput passenger_infoborderb" style="width:100%">
                                <input placeholder="SHA" type="text"   id="oriEng"  style="width:100%" value="">
                            </div>
                        </div>
                    </div>
                    <div class='ub b-norarea c-wh' style="width:50%">
                    <div class=" ub-ac ulev0 datecolor umw４">到达机场：</div>
                        <div class="ub ub-f1  " >
                            <div class="uba uinput passenger_infoborderb" style="width:100%">
                                <input placeholder="PEK" type="text"   id="desEng"  style="width:100%" value="">
                            </div>
                        </div>
                    </div>
                    </div>
                </div>
                
                <div class="line-h1 c-wh">
                    <div class="ub-f1 ub uba  b-gra  sel noboder">
                        <!--复选框开始-->
                        <input type="checkbox" name="che1" class="uhide"  value="Y"  id="cabin_Y" >
                        <div onclick="zy_for(event)" ontouchstart="zy_touch('btn-act')" class="ub uc-a1 t-bla">
                            <div class="che-icon ub-img umwh"></div>
                        </div>
                        <!--复选框结束-->
                        <div class="ub-f1 ut-s uinn tx-l ulh-sel">经济舱</div>
                        <!--复选框开始-->
                        <input type="checkbox" name="che1" class="uhide"  value="W" id="cabin_W" >
                        <div onclick="zy_for(event)" ontouchstart="zy_touch('btn-act')" class="ub uc-a1 t-bla">
                            <div class="che-icon ub-img umwh"></div>
                        </div>
                        <!--复选框结束-->
                        <div class="ub-f1 ut-s uinn tx-l ulh-sel">超级经济舱</div>
                        <!--复选框开始-->
                        <input type="checkbox" name="che1" class="uhide"  value="J" id="cabin_J" checked="checked">
                        <div onclick="zy_for(event)" ontouchstart="zy_touch('btn-act')" class="ub uc-a1 t-bla">
                            <div class="che-icon ub-img umwh"></div>
                        </div>
                        <!--复选框结束-->
                        <div class="ub-f1 ut-s uinn tx-l ulh-sel">公务舱</div>
                    </div>
                </div>  
                
                <div class="line-h1  c-wh">
                    <div class="ub-f1 ub uba  b-gra  sel noboder">
                        <!--复选框开始-->
                        <input type="checkbox" name="che1" class="uhide"  value="F" id="cabin_F"  >
                        <div onclick="zy_for(event)" ontouchstart="zy_touch('btn-act')" class="ub uc-a1 t-bla">
                            <div class="che-icon ub-img umwh"></div>
                        </div>
                        <!--复选框结束-->
                        <div class="ub-f1 ut-s uinn tx-l ulh-sel">头等舱</div>
                        <!--复选框开始-->
                        <input type="checkbox" name="che1" class="uhide"  value="U" id="cabin_U" >
                        <div onclick="zy_for(event)" ontouchstart="zy_touch('btn-act')" class="ub uc-a1 t-bla">
                            <div class="che-icon ub-img umwh"></div>
                        </div>
                        <!--复选框结束-->
                        <div class="ub-f1 ut-s uinn tx-l ulh-sel">豪华头等舱 </div>
                        <!--复选框结束-->
                        <div class="ub-f1 ut-s uinn tx-l t-gra ulh-sel">&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; </div>
                    </div>
                </div>  
            </div>
            
            <!--header结束--><!--content开始-->
            <div id="content" class="ub-f1 tx-l appCan ub-img4 ">  
            </div>
            <!--content结束-->
        </div>
    </body>
    <script>
    zy_init();
    function closex()
    {
        uescript("index1","winClosex()");
        //winClose();
         IC.talkingDataCount("机场降舱","0002");
    }
    function winClosex()
    {
        winClose();
         IC.talkingDataCount("机场降舱","0002");
    }
    window.uexOnload = function(type){
        if (!type) {
//          exitreturn();
            exitKeyPressedListener();
            $$("flightDate").innerHTML = getNowFormatDate();
            
            zy_con("content", "candidateDowngrades_content.html", 0, $$("header").offsetHeight+$$("condition").offsetHeight);
             IC.talkingDataCount("机场降舱","0002");
        }
        window.onorientationchange=window.onresize=function()
        {
            zy_resize("content",0,$$("header").offsetHeight+$$("condition").offsetHeight);              
        }
    }
function queryList()
{
    setStorage("candidateDowngrades_flightDate",$$("flightDate").innerHTML);
    var CarrierD = $$("Carrier").value; /*承运人*/
    setStorage("candidateDowngrades_Carrier",CarrierD);
    
    var flightNoD = $$("flightNo").value; /*航班号*/
     
    setStorage("candidateDowngrades_flightNo",flightNoD);
    
    var oriEngD1 = $$("oriEng").value==""?"SHA":$$("oriEng").value; /*出发机场3字码*/
    setStorage("candidateDowngrades_oriEng",oriEngD1);
    var desEngD1 = $$("desEng").value==""?"PEK":$$("desEng").value; /*到达机场3字码*/
    setStorage("candidateDowngrades_desEng",desEngD1);
    
    var arr=['cabin_Y','cabin_U','cabin_J','cabin_W','cabin_F'];
    var SubClasslv=judgeChecked(arr);
    setStorage("candidateDowngrades_SubClasslv",SubClasslv);
    var CheckinStatus = $$("checkinStatus").value; 
    setStorage("candidateDowngrades_CheckinStatus",CheckinStatus);
    //candidateDowngrades
    ueppscript("candidateDowngrades", "content", "CandidateUpgrade()");
    //ueppscript("root", "content", "CandidateUpgrade()");
    IC.talkingDataCount("机场降舱","0002");
}
</script>

</html>